package com.horoscope.astrology.zodiac.signs.free.network.task

import com.horoscope.astrology.zodiac.signs.free.bean.RelationResultBean
import com.horoscope.astrology.zodiac.signs.free.network.NetworkListener

class GetRelationResultTask(
    udid: String,
    name1: String,
    birthday1: String,
    gender1: String,
    name2: String,
    birthday2: String,
    gender2: String,
    listener: NetworkListener<RelationResultBean>?
) : BaseTask<RelationResultBean>(listener) {

    init {
        setApiAndCallBack(
            getApiCenter().getRelationResult(
                udid,
                name1,
                birthday1,
                gender1,
                name2,
                birthday2,
                gender2
            )
        )
    }
}